#include "myhead.h" 
#include "def.h"
void changeDir(char* params[], int paramNumber)
{
	if (paramNumber!=2)
	{
		printf(helpStr);
	}
	else
	{
		if (chdir(params[1])<0)
		{
			if (errno==ENOTDIR||errno==ENOENT)
			{
				printf("%The directory %s does not exist\n", params[1]);
			}
		}
	}
}